Replace values from a sparse tensor
# S4 method for sptensor,character,missing,ANY
[(x, i, j, ...) <- value# S4 method for sptensor,missing,character,ANY
[(x, i, j, ...) <- value
# S4 method for sptensor,character,character,ANY
[(x, i, j, ...) <- value
# S4 method for sptensor,missing,missing,ANY
[(x, i, j, ...) <- value
# S4 method for sptensor,numeric,missing,ANY
[(x, i, j, ...) <- value
# S4 method for sptensor,missing,numeric,ANY
[(x, i, j, ...) <- value
# S4 method for sptensor,numeric,numeric,ANY
[(x, i, j, ...) <- value
# S4 method for sptensor,list,missing,ANY
[(x, i, j, ...) <- value
# S4 method for sptensor,matrix,missing,ANY
[(x, i, j, ...) <- value
sptensor object
numeric index, vector, list, or matrix
numeric index
additional numeric indices
replacement value(s)